public class MethodDomo2 {
    public MethodDomo2() {
    }

    public static void main(String[] args) {
        System.out.println(add(1, 2));
    }

    public static void printHelloWorld(int n) {
        for(int i = 0; i < n; ++i) {
            System.out.println("Hello World");
        }

    }

    public static int add(int a, int b) {
        int c = a + b;
        return c;
    }

    public static void printhelloworld() {
        System.out.println("helloworld");
    }
}
